package edu.ynu.se.xiecheng.achitectureclass.dao;

import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.entity.UserEntity;
import java.util.Optional;

public interface UserDao extends LogicDAO<UserEntity,Long> {
    Optional<UserEntity> findByUserName(String userName);  // 根据用户名查询用户
}
